export interface IEmployee {
  id:string
  companyId: string;
  departmentId: string;
  createTime? :number;
  /** 是否为顾客 */
  isCustomer?:number
  isPause?:boolean,
  nickname:string,
  /** 位置？ 可选值：创建者 */
  position?:string,
  role:number
  userId:number
}
export interface IChatEmployee extends IEmployee {
  chatNum:number;
  onlinestate:number;
}
export interface IDeptItem {
  companyId: string;
  createTime: number;
  createUserId: string;
  departName: string;
  empNum: number;
  employees:Array<IChatEmployee>
}

export type DeptList = Array<IDeptItem>
export type EmployItem = IEmployee
